package com.util;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.MenuItem;

import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuItem;

public class CommonUtil {

	public static void setMemu(JMenu menu,String title){
		Font menuFont=new Font(null,Font.BOLD,24);
		menu.setFont(menuFont);
		menu.setForeground(Color.blue);
		menu.setText(title);
	}
	public static void setMemuItem(JMenuItem menuItem){
		Font menuFont=new Font(null,Font.BOLD,18);
		menuItem.setBackground(Color.LIGHT_GRAY);
		menuItem.setFont(menuFont);
	}
}
